/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.hcht.xrlh.simple.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.hcht.xrlh.simple.entity.TestSimple;
import com.hcht.xrlh.simple.dao.TestSimpleDao;

/**
 * 测试用Service
 * @author 测试
 * @version 2016-12-01
 */
@Service
@Transactional(readOnly = true)
public class TestSimpleService extends CrudService<TestSimpleDao, TestSimple> {

	public TestSimple get(String id) {
		return super.get(id);
	}
	
	public List<TestSimple> findList(TestSimple testSimple) {
		return super.findList(testSimple);
	}
	
	public Page<TestSimple> findPage(Page<TestSimple> page, TestSimple testSimple) {
		return super.findPage(page, testSimple);
	}
	
	@Transactional(readOnly = false)
	public void save(TestSimple testSimple) {
		super.save(testSimple);
	}
	
	@Transactional(readOnly = false)
	public void delete(TestSimple testSimple) {
		super.delete(testSimple);
	}
	
}